package com.qujia.customer.domain.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.math.BigDecimal;
import java.util.List;

@Data
public class CustomerCardChangeDto {

    @ApiModelProperty(value = "记录主键id")
    @NotNull(message = "主键id不能为空")
    private Long id;

    @ApiModelProperty(value = "金额")
    @NotNull(message = "金额不能为空")
    private BigDecimal amt;

    @ApiModelProperty(value = "油站id")
    private Long stationId;

    @ApiModelProperty(value = "类型 0：增加 1：减少" )
    @NotNull(message = "操作类型不能为空")
    private Integer operateType;

    @ApiModelProperty(value = "调整原因")
    @NotNull(message = "调整原因不能为空")
    @Size(max = 20 , message = "调整原因不能超过20个字符")
    private String reason;

    @ApiModelProperty(value = "操作人")
    //@NotNull(message = "操作人不能为空")
    private Integer operator;


    @ApiModelProperty(value = "优惠券id")
    private List<String> couponIds;

    @ApiModelProperty(value = "消息是否推送 0 不推送 1 推送")
    private Integer messagePush;

    @ApiModelProperty(value = "用户手机号")
    private String mobilePhone;

}
